import Vue from 'vue'
import App from './App'
import api from './utils/api'
// 引入vuex
import store from'./store'
// 导入http
import {http} from 'utils/http.js'
// 将http挂载到Vue原型上
Vue.prototype.$http = http;
// 取消生产提示
Vue.config.productionTip = false

// 设置vuex为全局组件
Vue.prototype.$store = store
Vue.prototype.$api = api
App.mpType = 'app'

const app = new Vue({
    ...App,
	store
})
app.$mount()


